package com.whoiszxl.cqrs.query;

import com.whoiszxl.core.annotation.Query;
import com.whoiszxl.core.entity.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springdoc.api.annotations.ParameterObject;

/**
 * 采购订单查询对象
 *
 * @author whoiszxl
 * @date 2022/3/18
 */
@Data
@ParameterObject
@Schema(description = "采购订单查询对象")
public class PurchaseOrderQuery extends PageQuery {

    @Schema(description = "供应商ID")
    @Query
    private Integer supplierId;

    @Schema(description = "采购订单状态")
    @Query
    private Integer purchaseOrderStatus;
}
